package com.sy.dto;

import com.sy.entity.DriClass;
import com.sy.entity.DriSchool;

import java.util.List;

public class DriSchools {
    private String name;
    private DriSchool driSchool;
    private List<DriClass> driClass;

    public DriSchools() {
    }

    public DriSchools(String name, DriSchool driSchool, List<DriClass> driClass) {
        this.driSchool = driSchool;
        this.driClass = driClass;
        this.name=name;
    }

    public DriSchool getDriSchool() {
        return driSchool;
    }

    public void setDriSchool(DriSchool driSchool) {
        this.driSchool = driSchool;
    }


    public void setDriClass(List<DriClass> driClass) {
        this.driClass = driClass;
    }
    public List<DriClass> getDriClass() {
        return driClass;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



    @Override
    public String toString() {
        return "DriSchools{" +
                "name='" + name + '\'' +
                ", driSchool=" + driSchool +
                ", driClass=" + driClass +
                '}';
    }
}
